<include file="../Public/header" />
<!-- <script data-main="__PUBLIC__/admin/js/page/admin/global/yunconfig" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script> -->
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>又拍云配置</h1>
    </div>

    <div class="form">
      <form method="post" action="{:URL('cms/Config/yunconfig')}">
        <dl class="kv">
          <dt>
            <label>开启又拍云图片：</label>
          </dt>
          <dd>
            <label>
              <input name="openyun" type="radio" value="1" <eq name="config['openyun']" value="1">checked</eq>
              >开启</label>
            <label>
              <input name="openyun" type="radio" value="0" <eq name="config['openyun']" value="0">checked</eq>
              >关闭</label>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>默认API地址：</label>
          </dt>
          <dd>
            <input name="apiaddress" type="text" class="input-text" value="{$config['apiaddress']}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>图片空间名称：</label>
          </dt>
          <dd>
            <input name="picbucket" type="text" class="input-text" value="{$config['picbucket']}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>图片域名前缀：</label>
          </dt>
          <dd>
            <input name="picdomain" type="text" class="input-text" value="{$config['picdomain']}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>文件空间名称：</label>
          </dt>
          <dd>
            <input name="filebucket" type="text" class="input-text" value="{$config['filebucket']}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>文件域名前缀：</label>
          </dt>
          <dd>
            <input name="filedomain" type="text" class="input-text" value="{$config['filedomain']}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>操作员帐号：</label>
          </dt>
          <dd>
            <input name="yunname" type="text" class="input-text" value="{$config['yunname']}">
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>操作员密码：</label>
          </dt>
          <dd>
            <input name="yunpass" type="text" class="input-text" value="{$config['yunpass']}">
          </dd>
        </dl>
        <div class="actions">
          <input class="btn btn-y" type="submit" value="确定" />
        </div>
      </form>
    </div>
  </div>
</body>

</html>
